package trading.algo;

import java.util.TimerTask;


public class MasterAlgoStartUpTask extends TimerTask {

	private MasterAlgo masterAlgo;
	
	public MasterAlgoStartUpTask(MasterAlgo masterAlgo) {
		this.masterAlgo = masterAlgo;
	}

	@Override
	public void run() {
		this.masterAlgo.process();
		
	}
	
	public static int secondsNeeded() {
	    return 30;
	}
}
